package com.iraeta.dao.main;

import com.iraeta.entity.main.Renyuanmapping;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RenyuanmappingDao {
    int insert(Renyuanmapping record);
    int updateByPrimaryKey(Renyuanmapping record);
    int deleteByPrimaryKey(Integer id);
    Renyuanmapping selectByPrimaryKey(Integer id);
    Renyuanmapping selectByAliAccount(@Param("aAccount") String aAccount);
    List<Renyuanmapping> selectByName(@Param("name") String name);
}